@extends('home.layout') @section('content')
    <div class="panel panel-default panel-body">
        <h2>管理关注的APP</h2>
        <hr>
        <div class="col-md-6">
            <h3>可以查看的APP</h3>
            <hr>
            <div class="table-sm">
            <table class="table table-striped table-hover myFollow-app-table table-sm">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                @foreach($allApps as $app)
                    <tr data-appid="{{$app->AID}}">
                        <td>{{$app->name}}</td>
                        <td><span class="glyphicon glyphicon-plus"></span></td>
                    </tr>
                @endforeach</tbody>
            </table>
            </div>
        </div>
        <div class="col-md-6">
            <h3>关注的APP</h3>
            <hr>
            <div class="table-sm">
            <table class="table table-striped table-hover myFollow-my-table table-sm">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                </tbody>
            </table>
        </div>
        </div>
    </div>
@endsection

@section('js')
    <script src="/js/home/myFollow.js"></script>
@endsection